<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: ZooomrPhotos</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">ZooomrPhotos</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../files/svn/ruby-zooomr-api/Zooomr_Photos_rb.html">
                svn/ruby-zooomr-api/Zooomr.Photos.rb
                </a>
        <br />
                <a href="../files/Zooomr_Photos_rb.html">
                Zooomr.Photos.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                Object
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
Photo methods
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000122">addTags</a>&nbsp;&nbsp;
      <a href="#M000109">addTags</a>&nbsp;&nbsp;
      <a href="#M000123">delete</a>&nbsp;&nbsp;
      <a href="#M000110">delete</a>&nbsp;&nbsp;
      <a href="#M000111">getContext</a>&nbsp;&nbsp;
      <a href="#M000124">getContext</a>&nbsp;&nbsp;
      <a href="#M000125">getFavorites</a>&nbsp;&nbsp;
      <a href="#M000112">getFavorites</a>&nbsp;&nbsp;
      <a href="#M000127">getRecent</a>&nbsp;&nbsp;
      <a href="#M000114">getRecent</a>&nbsp;&nbsp;
      <a href="#M000108">getSizes</a>&nbsp;&nbsp;
      <a href="#M000121">getSizes</a>&nbsp;&nbsp;
      <a href="#M000126">getinfo</a>&nbsp;&nbsp;
      <a href="#M000113">getinfo</a>&nbsp;&nbsp;
      <a href="#M000107">new</a>&nbsp;&nbsp;
      <a href="#M000120">new</a>&nbsp;&nbsp;
      <a href="#M000128">recentlyUpdated</a>&nbsp;&nbsp;
      <a href="#M000115">recentlyUpdated</a>&nbsp;&nbsp;
      <a href="#M000129">removeTag</a>&nbsp;&nbsp;
      <a href="#M000116">removeTag</a>&nbsp;&nbsp;
      <a href="#M000117">search</a>&nbsp;&nbsp;
      <a href="#M000130">search</a>&nbsp;&nbsp;
      <a href="#M000118">setMeta</a>&nbsp;&nbsp;
      <a href="#M000131">setMeta</a>&nbsp;&nbsp;
      <a href="#M000119">setPerms</a>&nbsp;&nbsp;
      <a href="#M000132">setPerms</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





    <div id="attribute-list">
      <h3 class="section-bar">Attributes</h3>

      <div class="name-list">
        <table>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">comments</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">comments</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">geo</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">geo</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">licenses</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">licenses</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">notes</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">notes</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">transform</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">transform</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        </table>
      </div>
    </div>
      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000107" class="method-detail">
        <a name="M000107"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000107.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000107.html');return false;">
          <span class="method-name">new</span><span class="method-args">(a_zooomr_api)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Constructor
</p>
<p>
a_zooomr_api =&gt; a <a href="ZooomrRestAPI.html">ZooomrRestAPI</a> object
</p>
        </div>
      </div>

      <div id="method-M000120" class="method-detail">
        <a name="M000120"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000120.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000120.html');return false;">
          <span class="method-name">new</span><span class="method-args">(a_zooomr_api)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Constructor
</p>
<p>
a_zooomr_api =&gt; a <a href="ZooomrRestAPI.html">ZooomrRestAPI</a> object
</p>
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000122" class="method-detail">
        <a name="M000122"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000122.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000122.html');return false;">
          <span class="method-name">addTags</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Add tags to a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo to add tags to

</li>
<li>tags =&gt; array of tags (must be an array)

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000109" class="method-detail">
        <a name="M000109"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000109.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000109.html');return false;">
          <span class="method-name">addTags</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Add tags to a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo to add tags to

</li>
<li>tags =&gt; array of tags (must be an array)

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000123" class="method-detail">
        <a name="M000123"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000123.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000123.html');return false;">
          <span class="method-name">delete</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Delete a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to <a
href="ZooomrPhotos.html#M000110">delete</a>

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000110" class="method-detail">
        <a name="M000110"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000110.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000110.html');return false;">
          <span class="method-name">delete</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Delete a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to <a
href="ZooomrPhotos.html#M000110">delete</a>

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000111" class="method-detail">
        <a name="M000111"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000111.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000111.html');return false;">
          <span class="method-name">getContext</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get next and previous for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to know next and prev for

</li>
</ul>
        </div>
      </div>

      <div id="method-M000124" class="method-detail">
        <a name="M000124"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000124.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000124.html');return false;">
          <span class="method-name">getContext</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get next and previous for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to know next and prev for

</li>
</ul>
        </div>
      </div>

      <div id="method-M000125" class="method-detail">
        <a name="M000125"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000125.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000125.html');return false;">
          <span class="method-name">getFavorites</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get favorites for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want the favs for

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>page =&gt; page of results you want

</li>
<li>per_page =&gt; number of results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000112" class="method-detail">
        <a name="M000112"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000112.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000112.html');return false;">
          <span class="method-name">getFavorites</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get favorites for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want the favs for

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>page =&gt; page of results you want

</li>
<li>per_page =&gt; number of results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000127" class="method-detail">
        <a name="M000127"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000127.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000127.html');return false;">
          <span class="method-name">getRecent</span><span class="method-args">(a_parameter_hash = nil)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get a users recent photos
</p>
<p>
Required Parameters:
</p>
<ul>
<li>none

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results

</li>
<li>per_page =&gt; number of results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000114" class="method-detail">
        <a name="M000114"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000114.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000114.html');return false;">
          <span class="method-name">getRecent</span><span class="method-args">(a_parameter_hash = nil)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get a users recent photos
</p>
<p>
Required Parameters:
</p>
<ul>
<li>none

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results

</li>
<li>per_page =&gt; number of results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000108" class="method-detail">
        <a name="M000108"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000108.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000108.html');return false;">
          <span class="method-name">getSizes</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get sizes of an image (contains links)
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; ID of the photo you want the sizes for

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000121" class="method-detail">
        <a name="M000121"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000121.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000121.html');return false;">
          <span class="method-name">getSizes</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get sizes of an image (contains links)
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; ID of the photo you want the sizes for

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000126" class="method-detail">
        <a name="M000126"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000126.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000126.html');return false;">
          <span class="method-name">getinfo</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get info about a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want info for

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>secret =&gt; secret photo id, perms checking skipped if this is set and
correct

</li>
</ul>
        </div>
      </div>

      <div id="method-M000113" class="method-detail">
        <a name="M000113"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000113.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000113.html');return false;">
          <span class="method-name">getinfo</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get info about a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want info for

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>secret =&gt; secret photo id, perms checking skipped if this is set and
correct

</li>
</ul>
        </div>
      </div>

      <div id="method-M000128" class="method-detail">
        <a name="M000128"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000128.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000128.html');return false;">
          <span class="method-name">recentlyUpdated</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get your recently updated photos from a given time
</p>
<p>
Required Parameters:
</p>
<ul>
<li>min_date =&gt; ruby date object

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results required

</li>
<li>per_page =&gt; how many results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000115" class="method-detail">
        <a name="M000115"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000115.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000115.html');return false;">
          <span class="method-name">recentlyUpdated</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Get your recently updated photos from a given time
</p>
<p>
Required Parameters:
</p>
<ul>
<li>min_date =&gt; ruby date object

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results required

</li>
<li>per_page =&gt; how many results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000129" class="method-detail">
        <a name="M000129"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000129.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000129.html');return false;">
          <span class="method-name">removeTag</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Remove a tag from a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>tag_id =&gt; ID of the tag you want to remove

</li>
<li>photo_id =&gt; ID of the photo you want to remve the tag from

</li>
</ul>
        </div>
      </div>

      <div id="method-M000116" class="method-detail">
        <a name="M000116"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000116.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000116.html');return false;">
          <span class="method-name">removeTag</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Remove a tag from a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>tag_id =&gt; ID of the tag you want to remove

</li>
<li>photo_id =&gt; ID of the photo you want to remve the tag from

</li>
</ul>
        </div>
      </div>

      <div id="method-M000117" class="method-detail">
        <a name="M000117"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000117.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000117.html');return false;">
          <span class="method-name">search</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Search photos
</p>
<p>
Required Parameters:
</p>
<ul>
<li>query =&gt; query string

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results you want

</li>
<li>per_page =&gt; how many results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000130" class="method-detail">
        <a name="M000130"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000130.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000130.html');return false;">
          <span class="method-name">search</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Search photos
</p>
<p>
Required Parameters:
</p>
<ul>
<li>query =&gt; query string

</li>
</ul>
<p>
Optional Parameters:
</p>
<ul>
<li>extras =&gt; extra info to return

</li>
<li>page =&gt; page of results you want

</li>
<li>per_page =&gt; how many results per page

</li>
</ul>
        </div>
      </div>

      <div id="method-M000118" class="method-detail">
        <a name="M000118"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000118.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000118.html');return false;">
          <span class="method-name">setMeta</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set meta information for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to set meta info for

</li>
<li>title =&gt; title

</li>
<li>description =&gt; description

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000131" class="method-detail">
        <a name="M000131"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000131.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000131.html');return false;">
          <span class="method-name">setMeta</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set meta information for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo you want to set meta info for

</li>
<li>title =&gt; title

</li>
<li>description =&gt; description

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000119" class="method-detail">
        <a name="M000119"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000119.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000119.html');return false;">
          <span class="method-name">setPerms</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set permissions for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo to set perms on

</li>
<li>is_public =&gt; 0 or 1

</li>
<li>is_friend =&gt; 0 or 1

</li>
<li>is_family =&gt; 0 or 1

</li>
<li>perm_comment =&gt; who can add comments: 0, 1, 2, 3

</li>
<li>perm_addmeta =&gt; who can add notes/tags: 0, 1, 2, 3

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>

      <div id="method-M000132" class="method-detail">
        <a name="M000132"></a>

        <div class="method-heading">
          <a href="ZooomrPhotos.src/M000132.html" target="Code" class="method-signature"
            onclick="popupCode('ZooomrPhotos.src/M000132.html');return false;">
          <span class="method-name">setPerms</span><span class="method-args">(a_parameter_hash)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set permissions for a photo
</p>
<p>
Required Parameters:
</p>
<ul>
<li>photo_id =&gt; photo to set perms on

</li>
<li>is_public =&gt; 0 or 1

</li>
<li>is_friend =&gt; 0 or 1

</li>
<li>is_family =&gt; 0 or 1

</li>
<li>perm_comment =&gt; who can add comments: 0, 1, 2, 3

</li>
<li>perm_addmeta =&gt; who can add notes/tags: 0, 1, 2, 3

</li>
<li>auth_token =&gt; your auth token

</li>
</ul>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>